package com.wangdao.wechatmall.bean.vo.admin;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * IssueVO
 * created by feng on 7/8/21
 */
@NoArgsConstructor
@Data
public class IssueVO {

    @JsonProperty("total")
    private Integer total;
    @JsonProperty("items")
    private List<ItemsDTO> items;

    @NoArgsConstructor
    @Data
    public static class ItemsDTO {
        @JsonProperty("id")
        private Integer id;
        @JsonProperty("question")
        private String question;
        @JsonProperty("answer")
        private String answer;
        @JsonProperty("addTime")
        private String addTime;
        @JsonProperty("updateTime")
        private String updateTime;
        @JsonProperty("deleted")
        private Boolean deleted;
    }
}